//
//  JPSuspensionFunctionBaseContentView.h
//  JPSuspensionViewDemo
//
//  Created by Carpenter on 2018/2/12.
//  Copyright © 2018年 carpenter. All rights reserved.
//

#import <UIKit/UIKit.h>
#import "JPSuspensionConfigure.h"


@interface JPSuspensionFunctionBaseContentView : UIView

/**
 移除视图按钮回调
 */
@property (nonatomic ,copy) void(^didCancelButtonBlock)(void);

/**
 功能按钮回调
 */
@property (nonatomic ,copy) void(^didFinishShowingHandleBlock)(id data);

/**
 配置信息
 */
@property (nonatomic ,strong ,readonly) JPSuspensionConfigure * configure;

/*!
 右上角删除按钮
 */
@property (nonatomic ,strong ,readonly) UIButton * deleteButton;

/**
 自定义初始化展示视图
 @param configure 配置信息
 @return self
 */
-(instancetype)initWithConfigure:(JPSuspensionConfigure *)configure;


/**
 绘制界面,推荐使用此方法绘制界面
 */
-(void)jp_setupView NS_REQUIRES_SUPER;

@end
